<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of OrderForm
 *
 * @author n1kolyan
 */
class SellForm extends CFormModel
{
    public $type;
    public $subjekt_s;
    public $name;
    public $vol_start;
    public $vol_end;
    public $text;
    public $srok;
    public $cost;
    public  $id_file;

    public function rules() {
        return array(
            array('id_file','file','types'=>'jpg, gif, png, zip, rar, doc, docx, txt','wrongType'=>'Ошибка блин'),

        );
    }
    public function attributeLabels()
	{
		return array(
			'verifyCode'=>'Verification Code',
		);
	}

}
?>
